import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('my', () => {

  let my = ref({
     nc:localStorage.getItem('ncname'),
     nc1:localStorage.getItem('username1'),
     username:localStorage.getItem('username'),
     img:'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',
     em:'qq.com'
  })

  return { my }
},
  {
    persist: true,
  },
)
